require_relative 'boot'

require 'rails/all'

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)

module MasterRailsByActionsHm
  class Application < Rails::Application
    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers
    # -- all .rb files in that directory are automatically loaded.

    # 关闭generators的默认创建资源文件的行业
    config.generators do |generator|
      generator.assets false #创建controller时，不要生成对应的js / css
      generator.test_framework false #创建model时，不要生成test文件
    end

  end
end
